package com.youkeyi.ddy.cloud.common.api.basic.storage.vaccinum;


import com.youkeyi.ddy.cloud.common.api.basic.storage.vaccinum.dto.StorageVaccinumListCloudDto;
import com.youkeyi.ddy.cloud.common.api.basic.storage.vaccinum.param.StorageVaccinumCreateCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.storage.vaccinum.param.StorageVaccinumDeleteCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.storage.vaccinum.param.StorageVaccinumQueryCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.storage.vaccinum.param.StorageVaccinumUpdateCloudParam;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * StorageVaccinumCloudServiceFallback
 *
 * @Author liuxiawang
 * @Date 2024/2/21 2:27 PM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/storage/vaccinum/fallback")
public class StorageVaccinumCloudServiceFallback implements StorageVaccinumCloudService {

    @Override
    public StorageVaccinumListCloudDto query(StorageVaccinumQueryCloudParam param) {
        return new StorageVaccinumListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent create(StorageVaccinumCreateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent update(StorageVaccinumUpdateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent delete(StorageVaccinumDeleteCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }
}
